
<div class="content-box">

	<div class="content-box-header">
		<h3>Tạo quản trị viên</h3>
		<div class="clear"></div>
	</div>
	<div class="content-box-content">
		<div class="tab-content default-tab">
			<?php echo Flashmessage::getInstance()->display(); ?>
			<form action="<?php echo URL::site('admin/user/create'); ?>" method="post">

				
				<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
					
					<p>
						<label>Họ và tên đệm</label>
							<input name="first_name" class="text-input small-input" type="text" id="small-input" name="small-input" value="<?php echo isset($user_info->first_name) ? $user_info->first_name : ''; ?>" />
							<br />
					</p>
					<p>
						<label>Tên</label>
							<input name="last_name" class="text-input small-input" type="text" id="small-input" name="small-input" value="<?php echo isset($user_info->last_name) ? $user_info->last_name : ''; ?>" />
							<br />
					</p>		
					<p>
						<label>email</label>
							<input name="email" class="text-input small-input" type="text" id="small-input" name="small-input" value="<?php echo isset($user_info->email) ? $user_info->email : ''; ?>" />
							<br />
					</p>
					<p>
						<label>Mật khẩu</label>
							<input name="password" class="text-input small-input" type="text" id="small-input" name="small-input" />
							<br />
					</p>
					<p>
						<input class="button" type="submit" value="Tạo quản trị viên" />
					</p>
					
				</fieldset>
				
				<div class="clear"></div><!-- End .clear -->

				
			</form>
			
		</div> <!-- End #tab2 -->        
	</div/>
</div>

<!-- CONTENT LIST -->

<div class="content-box"><!-- Start Content Box -->

<div class="content-box-header">
	
	<h3>Quản lý Thành Viên</h3>
	<div class="clear"></div>
	
</div> <!-- End .content-box-header -->

<div class="content-box-content">
	
	<div class="tab-content default-tab"> <!-- This is the target div. id must match the href of this div's tab -->
		
		<table>
			
			<thead>
				<tr>

				   <th><input class="check-all" type="checkbox" /></th>
				   <th>Họ</th>
				   <th>Tên</th>
				   <th>Email</th>
				   <th></th>
				</tr>
			</thead>
		 
			<tfoot>
				<tr>
					<td colspan="6">
						<div class="bulk-actions align-left">
							<select name="dropdown">
								<option value="option1">chọn tác vụ...</option>
								<option value="option3">xóa</option>
							</select>
							<a class="button" href="#">xử lý</a>
						</div>
						<!--
						<div class="pagination">
							<a href="#" title="First Page">&laquo; đầu</a><a href="#" title="Previous Page">&laquo; cuối</a>
							<a href="#" class="number" title="1">1</a>
							<a href="#" class="number" title="2">2</a>
							<a href="#" class="number current" title="3">3</a>
							<a href="#" class="number" title="4">4</a>
							<a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a>
						</div> 
						-->
						<!-- End .pagination -->
						<div class="clear"></div>
					</td>
				</tr>
			</tfoot>
		 
			<tbody>
				
				<?php foreach ($user_list as $user) :?>
				<tr>
					<td><input type="checkbox" /></td>
					<td><?php echo $user->first_name ?>
					<td><?php echo $user->last_name ?></td>
					<td><?php echo $user->email ?></td>
				
					<td>
						<!-- Icons -->
						 <a href="#" title="Edit"><img src="<?php echo $assets_image.'/icons/pencil.png'; ?>" alt="Edit" /></a>
						 <a href="#" title="Delete"><img src="<?php echo $assets_image.'/icons/cross.png'; ?>" alt="Delete" /></a> 
						 <a rel="colorbox" href="<?php echo Url::site('admin/user/role') ?>" title="Edit Meta"><img src="<?php echo $assets_image.'/icons/hammer_screwdriver.png'; ?>" alt="Edit Meta" /></a>
					</td>
				</tr>
					<?php endforeach ?>										
				</tbody>
		</table>

		
	</div> <!-- End #tab1 -->
	
</div> <!-- End .content-box-content -->

</div> <!-- End .content-box -->
